home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / DATABASE / SUPER_M2.ZIP;1 / SCIENCE.EXE / HELP9.PRN < prev    next >
Encoding:
Text File  |  1988-06-13  |  16.9 KB  |  533 lines

  1.  6. MATRICES and A SET OF LINEAR EQUATIONS
  2.  
  3.  
  4.  This feature of the program allows the user to solve a set of linear
  5.  equations with up to 70 unknown, to invert a square matrix and to 
  6.  multiply two matrices. Each matrix can be up to the size of 70x70.
  7.  
  8.  
  9.  NOTE:
  10.  
  11.  
  12.  To invert a matrix or to solve a set or linear equations, this program
  13.  uses the Lotus INVERT command. Therefore any matrix that can't be
  14.  inverted by LOTUS 1-2-3, can't be inverted by this program.
  15.  
  16.  
  17.  Integration  Differentiation  Curve_fit  Root_find  Matrices  Help
  18.  Integration of functions and data                [ESC] - Previous menu
  19.  
  20.  Press <M> to get the next menu:
  21.  
  22.  Invert_square_matrix  Multiply_matrices  Linear_equations_solver
  23.  
  24.  
  25.  6.1 <I>nvert_square_matrix
  26.  
  27.  
  28.  Press <I> to get the next menu:
  29.  
  30.  Retrieve  Edit  Clear  Invert  Data_save  Help
  31.  
  32.  
  33.  6.1A <R>etrieve
  34.  
  35.  
  36.  Retrieve a spreadsheet matrix file (*.WK1), the matrix file includes
  37.  the matrix as a square range starting at the A1 cell:
  38.  
  39.  Press <R> to get the next prompt:
  40.  
  41.  Input the file name - MATRIX
  42.  
  43.  Type the file name and press ENTER to get the next screen:
  44.  
  45.  ____________________________________________________________________________
  46.  
  47.  Retrieve  Edit  Clear  Invert  Data_save  Help
  48.  Retrieve a spreadsheet which include a matrix (see help)
  49.              A           B           C           D           E
  50.  1 ====================================================================
  51.  2          Units        |     Output/Input      |        Memory      |
  52.  3 ====================================================================
  53.  4   None                |                  0.00 |                0.00|
  54.  5 ====================================================================
  55.           GA            GB            GC            GD            GE
  56.  1               1             8             9             1
  57.  2               2             7            10             2
  58.  3               3             6             3             7
  59.  4               4             5             4             5
  60.  5
  61.  6
  62.  7
  63.  8
  64.  9
  65.  10
  66.  11
  67.  12
  68.  13
  69.  14
  70. ____________________________________________________________________________
  71.  
  72.  
  73.  The program combines the matrix file and puts it at the upper corner
  74.  at the cell GA1.
  75.  
  76.  
  77.  6.1B <E>dit
  78.  
  79.  
  80.  Press <E> to get into the EDIT mode.
  81.  
  82.  The program is now in the Lotus EDIT mode. Type the numbers in the
  83.  cells. Use the cursor keys to move through the cells, press the ENTER
  84.  key only after you have finished inserting the numbers or if you don't
  85.  want to change anything. The ENTER key is used ONLY to finish the EDIT
  86.  mode and to get back to the menu.
  87.  
  88.  
  89.                             **** WARNING ****
  90.  
  91.  
  92.  Since the program is now in the EDIT mode the Lotus keys are operative, 
  93.  however the user is strongly advised to use ONLY the UP, PGUP, DOWN 
  94.  and PGDN keys to scroll between the lines, the program doesn't allow 
  95.  scrolling to the sides by hiding all the columns except the current
  96.  column. Trying to unhide the columns MAY destroy the program code.
  97.  For example: if by mistake you have pressed the "/" key press ESC to 
  98.  get back to the READY mode and then press F2 to enter EDIT mode or 
  99.  just continue to type or press ENTER key to exit. 
  100.  
  101.  
  102.  6.1C <I>nvert
  103.  
  104.  
  105.  Press <I> to get the next screen:
  106.  
  107.  ____________________________________________________________________________
  108.  
  109.  Retrieve  Edit  Clear  Invert  Data_save  Help
  110.  Retrieve a spreadsheet which include a matrix (see help)
  111.              A           B           C           D           E
  112.  1 ====================================================================
  113.  2          Units        |     Output/Input      |        Memory      |
  114.  3 ====================================================================
  115.  4   None                |                  0.00 |                0.00|
  116.  5 ====================================================================
  117.           GA            GB            GC            GD            GE
  118.  160  0.1064814815 -0.2314814815  -0.412037037  0.6481481481
  119.  161  0.4814814815 -0.4814814815  -0.037037037  0.1481481481
  120.  162 -0.2916666667  0.4166666667  0.0416666667 -0.1666666667
  121.  163 -0.3333333333  0.3333333333  0.3333333333 -0.3333333333
  122.  164
  123.  165
  124.  166
  125.  167
  126.  168
  127.  169
  128.  170
  129.  171
  130.  171
  131.  173
  132.  ____________________________________________________________________________
  133.  
  134.  
  135.  
  136.  The square matrix (4x4) is the inversion of the matrix at GA1. The
  137.  program stores the inverted matrix starting in the cell GA160.
  138.  
  139.  
  140.  
  141.  6.2 <M>ultiply_matrices
  142.  
  143.  
  144.  Press <M> to get the next menu:
  145.  
  146.  Retrieve 1st_matrix_edit 2nd_matrix_edit Clear Multiply Data_save Help
  147.  
  148.  
  149.  6.2A <R>etrieve
  150.  
  151.  
  152.  Retrieve a spreadsheet matrix file (*.WK1), the matrix file includes
  153.  the two matrices the first matrix starts at the A1 cell and the second
  154.  matrix starts at the A80 cell.
  155.  
  156.  Press <R> to get the next prompt:
  157.  
  158.  Input the file name - MATRIX
  159.  
  160.  Type the file name and press ENTER to get the next screen:
  161.  
  162.  ____________________________________________________________________________
  163.  
  164.  Retrieve 1st_matrix_edit 2nd_matrix_edit Clear Multiply Data_save Help
  165.  Retrieve a spreadsheet which includes the two matrices (see help)
  166.              A           B           C           D           E
  167.  1 ====================================================================
  168.  2          Units        |     Output/Input      |        Memory      |
  169.  3 ====================================================================
  170.  4   None                |                  0.00 |                0.00|
  171.  5 ====================================================================
  172.           GA            GB            GC            GD            GE
  173.  1               1             8             9             1
  174.  2               2             7            10             2
  175.  3               3             6             3             7
  176.  4               4             5             4             5
  177.  5
  178.  6
  179.  7
  180.  8
  181.  9
  182.  10
  183.  11
  184.  12
  185.  13
  186.  14
  187. ____________________________________________________________________________
  188.  
  189.  
  190.  The program combines the matrix file and puts it at the upper corner
  191.  at the cell GA1 so that the second matrix is in the GA1 cell. To see
  192.  or to edit the two matrices use the following options:
  193.  
  194.  
  195.  <1>st_matrix_edit
  196.  
  197.  
  198.  Press <1> to get the next screen and to enter the EDIT mode for the
  199.  first matrix.
  200.  
  201.  
  202.  ____________________________________________________________________________
  203.  
  204.  GA1: 1                                                           EDIT
  205.  1
  206.  
  207.              A           B           C           D           E
  208.  1 ====================================================================
  209.  2          Units        |     Output/Input      |        Memory      |
  210.  3 ====================================================================
  211.  4   None                |                  0.00 |                0.00|
  212.  5 ====================================================================
  213.           GA            GB            GC            GD            GE
  214.  1               1             8             9             1
  215.  2               2             7            10             2
  216.  3               3             6             3             7
  217.  4               4             5             4             5
  218.  5
  219.  6
  220.  7
  221.  8
  222.  9
  223.  10
  224.  11
  225.  12
  226.  13
  227.  14
  228. ____________________________________________________________________________
  229.  
  230.  
  231.  
  232.  The program is now in the Lotus EDIT mode. Type the numbers in the
  233.  cells. Use the cursor keys to move through the cells, press the ENTER
  234.  key only after you have finished inserting the numbers or if you don't
  235.  want to change anything. The ENTER key is used ONLY to finish the EDIT
  236.  mode and to get back to the menu.
  237.  
  238.  
  239.                             **** WARNING ****
  240.  
  241.  
  242.  Since the program is now in the EDIT mode the Lotus keys are operative, 
  243.  however the user is strongly advised to use ONLY the UP, PGUP, DOWN 
  244.  and PGDN keys to scroll between the lines, the program doesn't allow 
  245.  scrolling to the sides by hiding all the columns except the current
  246.  column. Trying to unhide the columns MAY destroy the program code.
  247.  For example: if by mistake you have pressed the "/" key press ESC to 
  248.  get back to the READY mode and then press F2 to enter EDIT mode or 
  249.  just continue to type or press ENTER key to exit. 
  250.  
  251.  
  252.  <2>nd_matrix_edit
  253.  
  254.  
  255.  Press <2> to get the next screen and to enter the EDIT mode for the
  256.  second matrix.
  257.  
  258.  
  259.  ____________________________________________________________________________
  260.  
  261.  GA80: 1                                                          EDIT
  262.  1
  263.  
  264.              A           B           C           D           E
  265.  1 ====================================================================
  266.  2          Units        |     Output/Input      |        Memory      |
  267.  3 ====================================================================
  268.  4   None                |                  0.00 |                0.00|
  269.  5 ====================================================================
  270.           GA            GB            GC            GD            GE
  271.  80              1             5
  272.  81              2             5
  273.  82              3             4
  274.  83              4             0
  275.  84
  276.  85
  277.  86
  278.  87
  279.  88
  280.  89
  281.  90
  282.  91
  283.  92
  284.  93
  285.  ____________________________________________________________________________
  286.  
  287.  
  288.  In this case the second matrix is a 4x2 matrix therefore the
  289.  multiplication of a 4x4 matrix by 4x2 matrix is a 4x2 matrix. The
  290.  program stores the second matrix at the GA80 cell.
  291.  
  292.  
  293.  <M>ultiply
  294.  
  295.  
  296.  Press <M> to get the resulted matrix and the next screen:
  297.  
  298.  ____________________________________________________________________________
  299.  
  300.  Retrieve 1st_matrix_edit 2nd_matrix_edit Clear Multiply Data_save Help
  301.  Retrieve a spreadsheet which includes the two matrices (see help)
  302.              A           B           C           D           E
  303.  1 ====================================================================
  304.  2          Units        |     Output/Input      |        Memory      |
  305.  3 ====================================================================
  306.  4   None                |                  0.00 |                0.00|
  307.  5 ====================================================================
  308.           GA            GB            GC            GD            GE
  309.  240            48            81
  310.  241            54            85
  311.  242            52            57
  312.  243            46            61
  313.  244
  314.  245
  315.  246
  316.  247
  317.  248
  318.  249
  319.  250
  320.  251
  321.  252
  322.  253
  323.  ____________________________________________________________________________
  324.  
  325.  
  326.  The program prints the result of the multiplication at the GA240 cell.
  327.  
  328.  
  329.  6.3 <L>inear_equations_solver
  330.  
  331.  
  332.  A set of linear equations can be written in matrix notation, for
  333.  example let's look on a set of four linear equations with the 4
  334.  unknown  W, X, Y and Z.
  335.  
  336.  
  337.   W+8X+ 9Y+ Z=47
  338.  2W+7X+10Y+2Z=57
  339.  3W+6X+ 3Y+7Z=43
  340.  4W+5X+ 4Y+5Z=44
  341.  
  342.  
  343.  can be rewritten in matrix language as:
  344.  
  345.  
  346.  | 1  8   9  Z | | W |   | 47 |
  347.  | 2  7  10  2 |.| X | = | 57 |
  348.  | 3  6   3  7 | | Y |   | 43 |
  349.  | 4  5   4  5 | | Z |   | 44 |
  350.  
  351.  
  352.  The 4X4 matrix is called the 1st_matrix and the 4x1 matrix (vector)
  353.  is called the 2nd_matrix.
  354.  
  355.  Press <L> to get the next menu:
  356.  
  357.  Retrieve 1st_matrix_edit  2nd_matrix_edit Clear Solve  Data_save  Help
  358.  
  359.  
  360.  6.3A <R>etrieve
  361.  
  362.  
  363.  Retrieve a spreadsheet matrix file (*.WK1), the matrix file includes
  364.  the two matrices the first matrix starts at the A1 cell and the second
  365.  matrix starts at the A80 cell.
  366.  
  367.  Press <R> to get the next prompt:
  368.  
  369.  Input the file name - LINEAR
  370.  
  371.  Type the file name and press ENTER to get the next screen:
  372.  
  373.  ____________________________________________________________________________
  374.  
  375.  Retrieve 1st_matrix_edit 2nd_matrix_edit Clear Solve Data_save Help
  376.  Retrieve a spreadsheet which includes the two matrices (see help)
  377.              A           B           C           D           E
  378.  1 ====================================================================
  379.  2          Units        |     Output/Input      |        Memory      |
  380.  3 ====================================================================
  381.  4   None                |                  0.00 |                0.00|
  382.  5 ====================================================================
  383.           GA            GB            GC            GD            GE
  384.  1               1             8             9             1
  385.  2               2             7            10             2
  386.  3               3             6             3             7
  387.  4               4             5             4             5
  388.  5
  389.  6
  390.  7
  391.  8
  392.  9
  393.  10
  394.  11
  395.  12
  396.  13
  397.  14
  398. ____________________________________________________________________________
  399.  
  400.  
  401.  The program combines the matrix file and puts it at the upper corner
  402.  at the cell GA1 so that the second matrix is in the GA1 cell. To see
  403.  or to edit the two matrices use the following options:
  404.  
  405.  
  406.  <1>st_matrix_edit
  407.  
  408.  
  409.  Press <1> to get the next screen and to enter the EDIT mode for the
  410.  first matrix.
  411.  
  412.  
  413.  ____________________________________________________________________________
  414.  
  415.  GA1: 1                                                           EDIT
  416.  1
  417.  
  418.              A           B           C           D           E
  419.  1 ====================================================================
  420.  2          Units        |     Output/Input      |        Memory      |
  421.  3 ====================================================================
  422.  4   None                |                  0.00 |                0.00|
  423.  5 ====================================================================
  424.           GA            GB            GC            GD            GE
  425.  1               1             8             9             1
  426.  2               2             7            10             2
  427.  3               3             6             3             7
  428.  4               4             5             4             5
  429.  5
  430.  6
  431.  7
  432.  8
  433.  9
  434.  10
  435.  11
  436.  12
  437.  13
  438.  14
  439. ____________________________________________________________________________
  440.  
  441.  
  442.  
  443.  The program is now in the Lotus EDIT mode. Type the numbers in the
  444.  cells. Use the cursor keys to move through the cells, press the ENTER
  445.  key only after you have finished inserting the numbers or if you dont
  446.  want to change anything. The ENTER key is used ONLY to finish the EDIT
  447.  mode and to get back to the menu.
  448.  
  449.  
  450.                             **** WARNING ****
  451.  
  452.  
  453.  Since the program is now in the EDIT mode the Lotus keys are operative, 
  454.  however the user is strongly advised to use ONLY the UP, PGUP, DOWN 
  455.  and PGDN keys to scroll between the lines, the program doesn't allow 
  456.  scrolling to the sides by hiding all the columns except the current
  457.  column. Trying to unhide the columns MAY destroy the program code.
  458.  For example: if by mistake you have pressed the "/" key press ESC to 
  459.  get back to the READY mode and then press F2 to enter EDIT mode or 
  460.  just continue to type or press ENTER key to exit. 
  461.  
  462.  
  463.  <2>nd_matrix_edit
  464.  
  465.  
  466.  Press <2> to get the next screen and to enter the EDIT mode for the
  467.  second matrix.
  468.  
  469.  
  470.  ____________________________________________________________________________
  471.  
  472.  GA80: 1                                                          EDIT
  473.  1
  474.  
  475.              A           B           C           D           E
  476.  1 ====================================================================
  477.  2          Units        |     Output/Input      |        Memory      |
  478.  3 ====================================================================
  479.  4   None                |                  0.00 |                0.00|
  480.  5 ====================================================================
  481.           GA            GB            GC            GD            GE
  482.  80             47
  483.  81             57
  484.  82             43
  485.  83             44
  486.  84
  487.  85
  488.  86
  489.  87
  490.  88
  491.  89
  492.  90
  493.  91
  494.  92
  495.  93
  496.  ____________________________________________________________________________
  497.  
  498.  
  499.  <S>olve
  500.  
  501.  
  502.  Press <s> to get the resulted matrix (solution) and the next screen:
  503.  
  504.  ____________________________________________________________________________
  505.  
  506.  Retrieve 1st_matrix_edit 2nd_matrix_edit Clear Solve Data_save Help
  507.  Retrieve a spreadsheet which includes the two matrices (see help)
  508.              A           B           C           D           E
  509.  1 ====================================================================
  510.  2          Units        |     Output/Input      |        Memory      |
  511.  3 ====================================================================
  512.  4   None                |                  0.00 |                0.00|
  513.  5 ====================================================================
  514.           GA            GB            GC            GD            GE
  515.  240            4
  516.  241            3
  517.  242            2
  518.  243            1
  519.  244
  520.  245
  521.  246
  522.  247
  523.  248
  524.  249
  525.  250
  526.  251
  527.  252
  528.  253
  529.  ____________________________________________________________________________
  530.  
  531.  
  532.  The program prints the result of the multiplication at the GA240 cell.
  533.